<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>字符串对象</title>
	<script type="text/javascript">

		var str = "这个是一个很好的孩子";

		// var str = "hello world!";

		document.write(str.length);

		document.write("<br>");

		// document.write(str.match('很好'));

		// document.write(str.replace('很好','很坏'));

		// var str = "65&56&56&56&5&5";

		// document.write(typeof());
		// console.log(str.split('&'));



		// document.write(str.charAt(4));

		// document.write(str.slice(5,7));

		// document.write(str.substr(5,3));

		// document.write(str.indexOf("个",2));

		var str = "Hello World!";

		document.write(str.toUpperCase());

	</script>
</head>
<body>
	
</body>
</html>